#ifndef CTEST_LOG_H
#define CTEST_LOG_H

#include <stdio.h>
#include <stdint.h>

typedef enum {
    CLOG_LEVEL_ERR,
    CLOG_LEVEL_WAR,
    CLOG_LEVEL_INF,
    CLOG_LEVEL_BUTT
} CTEST_LOG_LEVEL;

void ctest_log(int32_t level, char *fmt, ...);
#define CLOG_ERR(fmt, ...) ctest_log(CLOG_LEVEL_ERR, fmt, ##__VA_ARGS__)

#endif